package com.qianfeng.entity;

import java.util.Date;

/**
 * 映射数据库药品表
 */
public class Drug {
    private Integer drId;//药品Id
    private String drUrl;//药品图片URL
    private Double drInPrice;//药品进价
    private Double drOutPrice;//药品售价
    private String drName;//药品名称
    private String drType;//药品类型
    private String drSimDesc;//简单介绍
    private String drExpiration;//保质期
    private String drDetaDesc;//详细描述
    private String drFatory;//生产厂家
    private String drDirection;//服用说明
    private String drRemark;//备注
    private Integer drNumber;//库存
    private Date drTime;//入库时间
    private Date updateTime;//设置当前时间，并且自动更更新时间

    @Override
    public String toString() {
        return "Drug{" +
                "drId=" + drId +
                ", drUrl='" + drUrl + '\'' +
                ", drInPrice=" + drInPrice +
                ", drOutPrice=" + drOutPrice +
                ", drName='" + drName + '\'' +
                ", drType='" + drType + '\'' +
                ", drSimDesc='" + drSimDesc + '\'' +
                ", drExpiration='" + drExpiration + '\'' +
                ", drDetaDesc='" + drDetaDesc + '\'' +
                ", drFatory='" + drFatory + '\'' +
                ", drDirection='" + drDirection + '\'' +
                ", drRemark='" + drRemark + '\'' +
                ", drNumber=" + drNumber +
                ", drTime=" + drTime +
                ", updateTime=" + updateTime +
                '}';
    }

    public Integer getDrId() {
        return drId;
    }

    public void setDrId(Integer drId) {
        this.drId = drId;
    }

    public String getDrUrl() {
        return drUrl;
    }

    public void setDrUrl(String drUrl) {
        this.drUrl = drUrl;
    }

    public Double getDrInPrice() {
        return drInPrice;
    }

    public void setDrInPrice(Double drInPrice) {
        this.drInPrice = drInPrice;
    }

    public Double getDrOutPrice() {
        return drOutPrice;
    }

    public void setDrOutPrice(Double drOutPrice) {
        this.drOutPrice = drOutPrice;
    }

    public String getDrName() {
        return drName;
    }

    public void setDrName(String drName) {
        this.drName = drName;
    }

    public String getDrType() {
        return drType;
    }

    public void setDrType(String drType) {
        this.drType = drType;
    }

    public String getDrSimDesc() {
        return drSimDesc;
    }

    public void setDrSimDesc(String drSimDesc) {
        this.drSimDesc = drSimDesc;
    }

    public String getDrExpiration() {
        return drExpiration;
    }

    public void setDrExpiration(String drExpiration) {
        this.drExpiration = drExpiration;
    }

    public String getDrDetaDesc() {
        return drDetaDesc;
    }

    public void setDrDetaDesc(String drDetaDesc) {
        this.drDetaDesc = drDetaDesc;
    }

    public String getDrFatory() {
        return drFatory;
    }

    public void setDrFatory(String drFatory) {
        this.drFatory = drFatory;
    }

    public String getDrDirection() {
        return drDirection;
    }

    public void setDrDirection(String drDirection) {
        this.drDirection = drDirection;
    }

    public String getDrRemark() {
        return drRemark;
    }

    public void setDrRemark(String drRemark) {
        this.drRemark = drRemark;
    }

    public Integer getDrNumber() {
        return drNumber;
    }

    public void setDrNumber(Integer drNumber) {
        this.drNumber = drNumber;
    }

    public Date getDrTime() {
        return drTime;
    }

    public void setDrTime(Date drTime) {
        this.drTime = drTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Drug(Integer drId, String drUrl, Double drInPrice, Double drOutPrice, String drName, String drType, String drSimDesc, String drExpiration, String drDetaDesc, String drFatory, String drDirection, String drRemark, Integer drNumber, Date drTime, Date updateTime) {
        this.drId = drId;
        this.drUrl = drUrl;
        this.drInPrice = drInPrice;
        this.drOutPrice = drOutPrice;
        this.drName = drName;
        this.drType = drType;
        this.drSimDesc = drSimDesc;
        this.drExpiration = drExpiration;
        this.drDetaDesc = drDetaDesc;
        this.drFatory = drFatory;
        this.drDirection = drDirection;
        this.drRemark = drRemark;
        this.drNumber = drNumber;
        this.drTime = drTime;
        this.updateTime = updateTime;
    }

    public Drug() {
    }
}
